package com.gqz.patrol.mapstruct;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gqz.patrol.entity.EnWzSblxEntity;
import com.gqz.patrol.vo.EnWzSblxVo;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;


/**
 * @ClassName EnWzSblxMapstruct
 * @Description 新能源-物资-设备类型树
 */
@Mapper(componentModel = "spring", imports = {})
@Component
public interface EnWzSblxMapstruct {

    EnWzSblxVo toVo(EnWzSblxEntity entity);

    List<EnWzSblxVo> toVos(List<EnWzSblxEntity> entity);

    Page<EnWzSblxVo> toVos(Page<EnWzSblxEntity> entity);

    EnWzSblxEntity toEntity(EnWzSblxVo vo);

    List<EnWzSblxEntity> toEntitys(List<EnWzSblxVo> vos);


}
